<?php

class WebUser extends CWebUser {

	protected $_user;
	
	public function getMember() {
		if (!is_object($this->_user)) {
			$this->_user = Member::model()->findByPk($this->id);
		}	
		return $this->_user;
	}
}

?>